Integration - External IDE Tool
WonderLeak Help
Version 1.4.0
You can add WonderLeak to your IDE as an external tool, allowing you to quickly open the WonderLeak GUI and pre populate the target of a new profiling session.
The WonderLeak GUI accepts the following command line arguments to pre populate a new session:
-D, --current-dir <dirpath> Set the target processes current working directory to <dirpath> (Optional).
-E, --environment <value> Pass the <value> to the target processes environment block (Optional).
-- <targetfile> [<arg> ...] The <targetfile> to profile. Anything after <targetfile> will be passed as arguments to the target process (Required).
Microsoft Visual Studio
To add a new external tool within Visual Studio, from the main menu, navigate to Tools -> External Tools... -> Add and enter the following parameters for a new external tool.
- Title:
&WonderLeak - New Session
- Command:
C:\Program Files\WonderLeak\WonderLeakGUI.exe
- Arguments:
-D $(TargetDir) -- $(TargetPath)
Embarcadero RAD Studio (Delphi and C++ Builder)
To add a new external tool within RAD Studio, from the main menu, navigate to Tools -> Configure Tools... -> Add and enter the following parameters for a new external tool.
- Title:
WonderLeak - New Session
- Program:
C:\Program Files\WonderLeak\WonderLeakGUI.exe
- Parameters:
-- $EXENAME